cmake_minimum_required (VERSION 2.6)
project (loadlib32)

if (MINGW)
  set (CMAKE_CXX_LINK_EXECUTABLE
     "${CMAKE_CXX_LINK_EXECUTABLE} -mwindows -static-libgcc -static-libstdc++"
  )
endif (MINGW)

set (SRC
   src/loadlib32.cpp
   src/inject.cpp
)

add_executable (loadlib32 ${SRC})
